﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ViewBillItem.aspx.cs" Inherits="SchoolAdministration.ViewBillItem" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="pagetitle" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="breadcrum" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="mainchangingpart" runat="server">
    <div class="widget yellow">
      <div class="widget-title">
           <h4>Bill ITems</h4>
      </div>
      <div class="widget-body">
          <asp:GridView ID="gvBillList"
              AutoGenerateColumns="False"
               CssClass="table table-bordered"
               runat="server">
              <Columns>
                <asp:BoundField DataField="billId" HeaderText="Id" SortExpression="Studentid" />
                <asp:BoundField DataField="BiLlItem" HeaderText="BiLL Item" SortExpression="FirstName" />
               <asp:TemplateField HeaderText="Edit">
                <ItemTemplate>
                <asp:HyperLink  runat="server" ID="BtnEdit" Text="Edit" NavigateUrl='<%# "EditStudent.aspx?BillId=" + Eval("billId")  %>' />
                </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Delete">
                <ItemTemplate>
                 <asp:LinkButton  ID="DeleteButton" CommandArgument='<%# Eval("BillId") %>' CommandName="Delete" runat="server">
                  Delete</asp:LinkButton>
                  </ItemTemplate>
                 </asp:TemplateField>
                 

                                </Columns>

          </asp:GridView>
</div>

    </div>
</asp:Content>
